"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = Example1;

var _index = _interopRequireDefault(require("../../index"));

var _react = _interopRequireDefault(require("react"));

var _components = require("@tarojs/components");

var _index2 = _interopRequireDefault(require("../../../icon/index"));

var _index3 = _interopRequireDefault(require("../../../button/index"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function header() {
  return /*#__PURE__*/_react.default.createElement(_components.View, {
    style: {
      display: 'flex',
      alignItems: 'center',
      justifyContent: 'space-between',
      color: '#8590A6'
    }
  }, /*#__PURE__*/_react.default.createElement(_components.Image, {
    mode: "widthFix",
    style: {
      width: '140px'
    },
    src: "https://discuz.chat/_nuxt/img/logo.afe0b7d.png"
  }), /*#__PURE__*/_react.default.createElement(_index3.default, {
    type: "primary",
    size: "mini"
  }, "\u64CD\u4F5C\u6309\u94AE"));
}

function footer() {
  return /*#__PURE__*/_react.default.createElement(_components.View, {
    style: {
      display: 'flex',
      alignItems: 'center',
      justifyContent: 'space-between',
      color: '#8590A6'
    }
  }, /*#__PURE__*/_react.default.createElement(_index2.default, {
    name: "LikeOutlined"
  }, "\u70B9\u8D5E"), /*#__PURE__*/_react.default.createElement(_index2.default, {
    name: "MessageOutlined"
  }, "\u8BC4\u8BBA"), /*#__PURE__*/_react.default.createElement(_index2.default, {
    name: "ShareOutlined"
  }, "\u5206\u4EAB"));
}

function Example1() {
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_index.default, {
    fullBody: true,
    header: /*#__PURE__*/_react.default.createElement(_components.View, null, "\u8BBE\u7F6EfullBody\u6765\u94FA\u6EE1\u5185\u5BB9\u533A\u57DF"),
    footer: footer()
  }, /*#__PURE__*/_react.default.createElement(_components.Image, {
    style: {
      width: '100%',
      display: 'block'
    },
    src: "////main.qcloudimg.com/raw/6c8fd423cd9bdd7a77b0e99725e04fff.png"
  })), /*#__PURE__*/_react.default.createElement(_index.default, {
    style: {
      marginTop: '50px'
    },
    fullHeader: true,
    header: /*#__PURE__*/_react.default.createElement(_components.Image, {
      style: {
        width: '100%',
        display: 'block'
      },
      src: "////main.qcloudimg.com/raw/6c8fd423cd9bdd7a77b0e99725e04fff.png"
    }),
    footer: footer()
  }, "\u8BBE\u7F6EfullHeader\u6765\u94FA\u6EE1\u5934\u90E8\u533A\u57DF"), /*#__PURE__*/_react.default.createElement(_index.default, {
    style: {
      marginTop: '50px'
    },
    fullFooter: true,
    header: header(),
    footer: /*#__PURE__*/_react.default.createElement(_components.Image, {
      style: {
        width: '100%',
        display: 'block'
      },
      src: "////main.qcloudimg.com/raw/6c8fd423cd9bdd7a77b0e99725e04fff.png"
    })
  }, "\u8BBE\u7F6EfullFooter\u6765\u94FA\u6EE1\u5E95\u90E8\u533A\u57DF"));
}